using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class TuaSachDTO
    {
        #region "Thuoc Tinh"
        private int _maTuaSach;
        private string _tuaSach;
        private string _tacGia;       
        private string _tomTat;    
        #endregion

        #region "Set&Get"

        public int MaTuaSach
        {
            get { return _maTuaSach; }
            set { _maTuaSach = value; }
        }
        public string TuaSach
        {
            get { return _tuaSach; }
            set { _tuaSach = value; }
        }

        public string TomTat
        {
            get { return _tomTat; }
            set { _tomTat = value; }
        }

        public string TacGia
        {
            get { return _tacGia; }
            set { _tacGia = value; }
        }
        #endregion

        
        #region "Phuong Thuc"
        public TuaSachDTO()
        {
            MaTuaSach = 0;
            TuaSach = "";
            TacGia = "";
            TomTat = "";
        }

        public TuaSachDTO(int ma, string tua, string tg, string tt)
        {
            MaTuaSach = ma;
            TuaSach = tua;
            TacGia = tg;
            TomTat = tt;
        }
        #endregion
    }
}
